package com.zyf.temple.controller;

import com.zyf.temple.repository.TestRepository;
import com.zyf.temple.server.TestServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.io.File;

@RestController
public class TestController {


    @Resource
    private TestRepository testRepository;

    @Resource
    TestServer testServer;

    @GetMapping("/hello")
    public String say() {
        return "我是测试";
    }

}
